<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>{$site_name}</title>
<!-- CSS -->
<!--<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">-->

<link rel="stylesheet" href="{url:#css/materialize.min.css}" />
<link rel="stylesheet" href="{url:#css/me.css}" />
<link rel="stylesheet" href="{url:#css/iconfont.css}" />

<link rel="stylesheet" href="{url:#css/hql/iconfont.css}">

    <style>
        /*清楚浏览器默认样式*/
        body {
            font-size: 12px;
            line-height: 1.666;
            color: #666;
        }

        body, input {
            font-family: "verdana";
        }

        body, h1, h2, h3, h4, h5, h6, ul, ol, li, p, dl, dt, dd, table, th, td {
            margin: 0;
            padding: 0
        }

        table, th, td, img {
            border: 0
        }

        em, i, th {
            font-style: normal;
            text-decoration: none
        }

        h1, h2, h3, h4, h5, h6, th {
            font-size: 100%;
            font-weight: normal
        }

        input, select, button, textarea, table {
            margin: 0;
            font-family: inherit;
            font-size: 100%
        }

        input {
            outline: none;
        }

        ul, ol {
            list-style: none
        }

        table {
            border-collapse: collapse;
            border-spacing: 0
        }

        th, caption {
            text-align: left
        }

        a {
            color: #666;
            text-decoration: none;
        }

        /*css*/
        .g-gongNeng-list,.g-gongNeng-list ul{
            width: 100%;
            overflow: hidden;
        	background-color:#fff;
        }

        .g-gongNeng-list li{
            width: 50%;
            padding: 0 10px;
            height: 50px;
            border-bottom: 1px solid rgba(234,234,234,.8);
            box-sizing: border-box;
            float: left;
            line-height: 50px;
        }

       .gyellow i{color: #FED235;}
        .gcheng i{color: #F09043;}
         .gred i{color: #E64B56;}
         .gblue i{color: #67A9E6;}
     .gzi i{color: #D270D3;}
        .ggreen i{color:#78BB71;}

        .g-gongNeng-list  li:nth-child(2n-1){
            border-right: 1px solid rgba(234,234,234,.8);
        }

        .g-gongNeng-list li i:nth-of-type(1){
            display: inline-block;
            width: 20%;
            text-align: center;
            font-weight: bold;
            font-size: 20px;
            vertical-align: inherit;
        }

        .g-gongNeng-list li span{
            display: inline-block;
            width: 80%;
            padding-left: 5px;
            box-sizing: border-box;
            font-size: 14px;
        }

    </style>


<style type="text/css">
/*
body{
	background-image:url(images/index_body_bg.png);
}
a{
	color:black;
}
*/
</style>

<!-- JS -->
<script src="{url:#js/jquery-1.11.3.min.js}"></script>
<script src="{url:#js/materialize.min.js}"></script>
<script src="{url:#js/json/json2.js}"></script>
<script src="{url:#js/home/home_me.js}"></script>
</head>
<body>
<!-- TitleBar 开始 -->
<div class="navbar-fixed">
  <nav>
    <div class="nav-wrapper red accent-4 valign-wrapper">
      <ul class="left">
        <li><a  class="disabled" style="visibility:hidden"><i class="iconfont">&#xe63c;</i></a></li>
      </ul>
      <span class="title-bar-size center_align">个人中心</span>
      <ul class="right">
        <li><a href="{url:/mobile/setting}"><i class="material-icons">settings</i></a></li>
      </ul>
    </div>
  </nav>
</div>
<!-- TitleBar 结束 -->

<!-- 顶部登陆部分 开始 -->
<div class="me_login_bg center">
	<div style="position:relative; top:40px;">			
		<span>欢迎来到{$site_name}</span>
		{if:empty($mobile_user)}
		<a id="login" class="waves-effect waves-light btn-flat" href="{url:/mobile/login}">登陆/注册</a>
		{else:}
		欢迎您，{$mobile_user['name']}
		{/if}
	</div>
</div>
<!-- 顶部登陆部分 结束 -->

<!-- 订单列表部分 开始-->
<div class="me-order">
	<!-- 全部订单 -->
	<div class="me-allorder">
		<div class="left">
			<span class="allorder">
				<i class="iconfont" style="color:#FF0000;">&#xe641;</i> 全部订单 
			</span>
		</div>		
		<div class="right" style="margin-top:10px">
			<a href="{if:!empty($mobile_user)}{url:/mobile/order_list}{else:}javascript:;{/if}">
				查看全部已购买的宝贝<i class="iconfont" style="font-size:1.0em">&#xe621;</i>
			</a>
		</div>
	</div>
	<div class="divider"></div>
	
	<!-- 订单分类 -->
	<div class="row mgr-0 padd-0" style="padding-bottom:10px;">
		<div class="tab">
			<a href="{if:!empty($mobile_user)}{url:/mobile/order_list/type/1}{else:}javascript:;{/if}">
				<i class="iconfont">&#xe65e;</i><br/>
				<span>待付款</span>
				{set:$num = Common::getOrderNumByStatus($mobile_user['id'],1)}
				{if:$num>0}
				<span class="circle num">{$num}</span>
				{/if}
			</a>
		</div>
		<div class="tab">
			<a href="{if:!empty($mobile_user)}{url:/mobile/order_list/type/2}{else:}javascript:;{/if}">
				<i class="iconfont">&#xe65f;</i><br/>
				<span>待发货</span>
				{set:$num = Common::getOrderNumByStatus($mobile_user['id'],2)}
				{if:$num>0}
				<span class="circle num">{$num}</span>
				{/if}
			</a>
		</div>
		<div class="tab">
			<a href="{if:!empty($mobile_user)}{url:/mobile/order_list/type/3}{else:}javascript:;{/if}">
				<i class="iconfont">&#xe65c;</i><br/>
				<span>待收货</span>
				{set:$num = Common::getOrderNumByStatus($mobile_user['id'],3)}
				{if:$num>0}
				<span class="circle num">{$num}</span>
				{/if}
			</a>
		</div>
		<div class="tab">
			<a href="{if:!empty($mobile_user)}{url:/mobile/order_list/type/4}{else:}javascript:;{/if}">
				<i class="iconfont">&#xe65d;</i><br/>
				<span>待评价</span>
				{set:$num = Common::getOrderNumByStatus($mobile_user['id'],4)}
				{if:$num>0}
				<span class="circle num">{$num}</span>
				{/if}
			</a>
		</div>
		<div class="tab">
			<a href="{if:!empty($mobile_user)}{url:/mobile/order_list/type/5}{else:}javascript:;{/if}">
				<i class="iconfont">&#xe660;</i><br/>
				<span>退款/售后</span>
				{set:$num = Common::getOrderNumByStatus($mobile_user['id'],5)}
				{if:$num>0}
				<span class="circle num">{$num}</span>
				{/if}
			</a>
		</div>
	</div>
	<div class="divider"></div>
</div>
<!-- 订单列表部分 结束 -->

<!-- 功能列表 开始-->







<div class="g-gongNeng-list">
        <ul class="m-gongNeng-list">
            <li><a href="{url:/mobile/shopping_car}"><p><i class="iconfont icon-iconfont02"></i><span>购物车</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_account}{else:}javascript:;{/if}"><p><i class="iconfont icon-zhanghu"></i><span>我的账户</span></p></a></li>
            
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/info}{else:}javascript:;{/if}"><p><i class="iconfont icon-zhanghu"></i><span>个人资料</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_gq}{else:}javascript:;{/if}"><p><i class="iconfont icon-zhanghu"></i><span>我要购券</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/zh}{else:}javascript:;{/if}"><p><i class="iconfont icon-zhanghu"></i><span>我要兑换</span></p></a></li>
            
            
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/change_password}{else:}javascript:;{/if}"><p><i class="iconfont icon-mima"></i><span>修改密码</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/sqdl}{else:}javascript:;{/if}"><p><i class="iconfont icon-shenqing"></i><span>代理申请</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/reg_user}{else:}javascript:;{/if}"><p><i class="iconfont icon-zhucehuiyuan"></i><span>注册会员</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/tjr_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-shangchengxitongtubiaozitihuayuanwenjian78"></i><span>我的推广</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/tjr_href}{else:}javascript:;{/if}"><p><i class="iconfont icon-fenxiang"></i><span>分享链接</span></p></a></li>
            <li><a href="{url:/mobile/download}"><p><i class="iconfont icon-share"></i><span>下载链接</span></p></a></li>
            <li><a href="{url:/mobile/transaction_list}"><p><i class="iconfont icon-fuwudating"></i><span>交易大厅</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_transaction}{else:}javascript:;{/if}"><p><i class="iconfont icon-jiaoyi"></i><span>我的交易</span></p></a></li>
            
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/recharge_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-shangchengxitongtubiaozitihuayuanwenjian61"></i><span>充值记录</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/zz_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-zhuanzhang"></i><span>转账记录</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/withdraw_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-shangchengxitongtubiaozitihuayuanwenjian62"></i><span>提现记录</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/trans_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-duihuan"></i><span>兑换记录</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/jj_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-jiangjin"></i><span>奖金记录</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/refund_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-tuikuan"></i><span>退款记录</span></p></a></li>
            
            {if:$mobile_user['is_seller']==1}
            
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_dp}{else:}javascript:;{/if}"><p><i class="iconfont icon-dianpu"></i><span>我的店铺</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_dp_products_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-shangpin"></i><span>店铺商品</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_sell_order_list}{else:}javascript:;{/if}"><p><i class="iconfont icon-orders"></i><span>销售订单</span></p></a></li>
            
            {/if}
            
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_attention}{else:}javascript:;{/if}"><p><i class="iconfont icon-shoucang"></i><span>收藏的宝贝</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/my_addr}{else:}javascript:;{/if}"><p><i class="iconfont icon-dizhi"></i><span>收货地址管理</span></p></a></li>
            <li><a href="{if:!empty($mobile_user)}{url:/mobile/leave_message}{else:}javascript:;{/if}"><p><i class="iconfont icon-liuyan1"></i><span>在线留言</span></p></a></li>
        </ul>
    </div>

    <script>
  
        var gongNeng=document.querySelector('.m-gongNeng-list');
        var gnLi=gongNeng.querySelectorAll('li');

        (function () {
           for (var i=0;i<gnLi.length;i++){
               switch (i%6){
                   case 0:gnLi[i].setAttribute("class",'gyellow');break;
                   case 1:gnLi[i].setAttribute("class",'gcheng');break;
                   case 2:gnLi[i].setAttribute("class",'gred');break;
                   case 3:gnLi[i].setAttribute("class",'gblue');break;
                   case 4:gnLi[i].setAttribute("class",'gzi');break;
                   case 5:gnLi[i].setAttribute("class",'ggreen');break;
               }
           }
        })()

    </script>



















<!-- 功能列表 结束 -->
</body>
</html>
